package com.tydic.system.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serial;
import java.io.Serializable;

@Component
@ConfigurationProperties(prefix = "minio")
@Data
public class MinioProperties implements Serializable {
    @Serial
    private static final long serialVersionUID = 930835445147776979L;

    private String endpoint;

    private String accessKey;

    private String secretKey;

    private String bucketName;

    private String domain;

    private boolean https;
}
